const express = require('express')
const coserRouter = express.Router()
const fs = require('fs')

coserRouter.post('/coseradd', (req, res) => {

})
coserRouter.get('/coser')
coserRouter.get('/getcoserdata', (req,res)=> {
    let coserData = require('../data/coserData.json')
    res.json({status:0,message:'获取数据成功',data:coserData})
})




module.exports = coserRouter